package collectionDemo;

import com.wf.captcha.SpecCaptcha;

/**
 *@Author:fengxiaohui
 *@Description:
 *@Date:Create in 22:06 2025/1/5
 *@Modified By:
 */
public class CodeDemo {

    public static void main(String[] args) {
        // png类型
        SpecCaptcha captcha = new SpecCaptcha(130, 48);
        String text = captcha.text();// 获取验证码的字符
        char[] chars = captcha.textChar();// 获取验证码的字符数组
        System.out.println("验证码："+text);


    }

}
